package org.jeecg.modules.coupon.service;

import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.coupon.entity.Coupon;
import org.jeecg.modules.coupon.entity.CouponOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.recharge.entity.Balance;

/**
 * @Description: 优惠券订单
 * @Author: jeecg-boot
 * @Date:   2024-06-28
 * @Version: V1.0
 */
public interface ICouponOrderService extends IService<CouponOrder> {

    void payOrder(LoginUser sysUser, Balance balance, CouponOrder order, Coupon coupon);

    void back4WxPay(String orderId);
    void back4Balance(String orderId);
    void backMoney(String orderId);
}
